﻿using System.Collections.Generic;

namespace Model
{
    /// <summary>
    /// 用户实体类
    /// </summary>
    public class User : Entity
    {
        //姓名
        public virtual string name { get; set; }
        //用户名
        public virtual string username { get; set; }
        //密码
        public virtual string password { get; set; }
        //状态
        public virtual int status { get; set; } //1 正常 0 锁定 2管理员
        //上传资源历史
        public virtual IList<Resource> resourceList { get; set; }
        //所属部门
        public virtual Department department { get; set; }
    }
}
